<div class="hp-tab-newprd">
    <?php if(!is_iframe()){?>
        <ul class="j-sw-nav">
            <li class="newprd-s1 tab-li"><a href="<?php echo base_path();?>plant_structure/list">查看</a></li>
            <?php if(user_access('add plant_structure')){?>
            <li class="newprd-s2 tab-li<?php if(arg(1) == 'add'){?> on <?php }?>"><a href="<?php echo base_path();?>plant_structure/add">添加</a></li>
            <li class="newprd-s2 tab-li"><a href="<?php echo base_path();?>plant_structure/add_more">批量添加</a></li>
            <?php } if(user_access('view plant_structure stats')){?>
            <li class="newprd-s3 tab-li"><a href="<?php echo base_path();?>plant_structure/stats">统计</a></li>
            <?php } if(arg(1) == 'edit' && !empty(arg(2))){?>
                <li class="newprd-s3 tab-li on"><a href="javascript:void(0)">修改</a></li>
            <?php }?>
        </ul>
    <div class="table-div">
    <?php }?>
        <?php  print _address_render_for_add($form)?>
            <div class="small-select small-input column" style="clear:both">
                <div class="small-div"><div class="form-label">请选年份:</div><?php print render( $form['plant_structure']['year']); ?></div>
            </div>
            <div class="middle-select small-input column" style="clear:both">
                <div class="small-input address-search"><div class="form-label"><span class="required">*</span>请选作物:</div><?php print render( $form['plant_structure']['plant']); ?></div>
            </div>
            <div class="small-select small-input column" style="clear:both">
                <div class="form-label"><span class="required">*</span>种植面积(亩):</div><?php print render( $form['plant_structure']['area']); ?>
            </div>
            <div class="search-submit" style="text-align: center"><?php print render($form['submit']); ?></div>
        </div>
</div>

<?php print drupal_render_children($form); ?>

